import React,{Component} from 'react'
import {ChooseStyle} from './StyleChoose'

import you from 'images/my/youjiantou@3x.png'

class Choose extends Component{
    render(){
        return(
            <ChooseStyle {...this.props}>
                <div className="sound" onClick={()=>(this.props.handleClick())}>
                    <img className="left" src={this.props.src} alt=""/>
                    <p>{this.props.title}</p>
                    <img className="right" src={you} alt=""/>
                </div>
            </ChooseStyle>
        )
    }
}

export default Choose;